package com.marvels.dubbo.externalservice.service.impl;

import com.marvels.common.utils.MarvelsLogUtil;
import com.marvels.dubbo.externalservice.service.ShortLinkInfoService;
import org.springframework.stereotype.Service;


@Service
public class ShortLinkServiceImpl implements ShortLinkInfoService {

	@Override
	public String insert(String longUrl, String loanId) {
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接入参:" + longUrl + ">>>>>>>" + loanId);
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接返回参数:" + null);
		return null;
	}

	@Override
	public String selectLongUrlByShortUrl(String shortUrl) {
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接入参:" + shortUrl);
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接返回参数:" + null);
		return null;
	}

	@Override
	public void deleteByloanId(String loanId) {
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接入参:" + loanId);
	}

	@Override
	public String queryLongUrl(String loanId) {
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接入参:" + loanId);
		MarvelsLogUtil.getInstance().info(">>>>>>>>>dubbo短连接返回参数:" + null);
		return null;
	}

}
